﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo2
{
    class Program
    {
        static void Main(string[] args)
        {
            Person p1 = new Person("张无忌", 18, true);
            p1.Speak("我是一个person的实例！");
            p1.nickName = "明教教主";
            p1.Speak("我的绝招是乾坤大挪移！");

            Console.ReadKey();
        }
    }
}
